package com.hzmall.util;

import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

public class DecodeTest {
    public static void test(String... args){
        List<String> list = Arrays.asList(args);
        Iterator iterator = list.iterator();
        while (iterator.hasNext()){
            System.out.println(iterator.next().toString());
        }
    }

    public static void main(String[] args) {
        DecodeTest.test("1","2","3","4");
    }
}
